package com.glsc.ngateway.common.api.flowable.dto.task.doTaskParam;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author xuchang
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class AbstractFlowSearchParamDto {

    @ApiModelProperty(value = "发起人名称")
    private String startUser;

    @ApiModelProperty(value = "流程标题")
    private String title;

    @ApiModelProperty(value = "流程定义英文")
    private String processDefineKey;

    @ApiParam(value = "部门id")
    private Integer deptId;

    @ApiParam(value = "系统管理员集合")
    private List<String> adminList;

    @ApiModelProperty(value = "起始时间")
    private String beginDate;

    private LocalDateTime beginDateLocalDate;
    @ApiModelProperty(value = "结束时间")
    private String endDate;

    private LocalDateTime endDateLocalDate;
    @ApiModelProperty(value = "是否结束，0未结束，1已结束")
    private Integer hasProcessEnd;

    private Integer pageNo;

    private Integer pageSize;
}
